<?php
$agent = strtolower($_SERVER['HTTP_USER_AGENT']);  
$is_pc = (strpos($agent, 'windows nt')) ? true : false;  
$is_iphone = (strpos($agent, 'iphone')) ? true : false;  
$is_ipad = (strpos($agent, 'ipad')) ? true : false;  
$is_android = (strpos($agent, 'android')) ? true : false;  
if($is_pc){  
 header('Location:http://m.giant-king.com/testdoc/vivo-ble/SHYU.php');
   
} else  if($is_iphone){  
 header('Location:http://m.giant-king.com/testdoc/vivo-ble/vivo.php');
  
}   else if($is_ipad){  
 header('Location:http://m.giant-king.com/testdoc/vivo-ble/SHYU.php');
  
} else if($is_android){  
 header('Location:http://m.giant-king.com/testdoc/vivo-ble/vivo.php');
  
}  else{
 header('Location:http://m.giant-king.com/testdoc/vivo-ble/vivo.php');
 
}

	
?>